/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-19 20:24:36
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-19 21:11:52
 * @别瞎看: 你个无脑牛马
 */
class Dog extends Animal{
    @Override
    public void speak(){
        System.out.println("I am a dog.");
    }
    public void wagTail(){
        System.out.println("I am wagging my tail.");
    }
}